package com.green.dao.manage.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.green.dao.impl.BaseDaoImpl;
import com.green.dao.manage.ResourceDao;
import com.green.model.manage.Resources;



/**
 * 人员
 * 
 */
@Repository("resourceDao")
public class ResourceDaoImpl extends BaseDaoImpl implements ResourceDao {

	@Override
	public int insertResource(Resources ct) {
		return insert("com.green.dao.manage.ResourceDao.insertResource", ct);
	}

	@Override
	public int updateResource(Resources ct) {
		return update("com.green.dao.manage.ResourceDao.updateResource", ct);
	}

	@Override
	public int deleteResource(Map<String, Object> param) {
		return delete("com.green.dao.manage.ResourceDao.deleteResource", param);
	}

	@Override
	public Resources getResourceById(String id) {
		return null;
	}

	@Override
	public List<Resources> getResourceList(Map<String, Object> param) {
		return null;
	}
	
	
}
